package com.hanyxx.thread.lambda;

/**
 * @author layman
 */
public class Demo01Lambda {
    public static void main(String[] args) {
        //Lambda表达式
        new Thread(() -> System.out.println(Thread.currentThread().getName()+"--线程任务开启")).start();

        new Thread(() -> System.out.println(Thread.currentThread().getName()+"--线程任务开启")).start();
    }
}
